SftTabs/NET 6.0

ProcessMnemonic Method, SftTabs Class

Softel vdm, Inc.

Processes a mnemonic character.

Syntax      SftTabs Class (Softelvdm.SftTabsNET)

VB   

Protected Overrides Function ProcessMnemonic( ByVal charCode As Char ) As Boolean

C#   

protected override bool ProcessMnemonic( char charCode );

C++   

protected: virtual bool ProcessMnemonic( wchar_t charCode );

charCode

The character to process.

Return Value

True if the character was processed as a mnemonic by the control, False otherwise.

Comments

The ProcessMnemonic method processes a mnemonic character.

This method is called to give a control the opportunity to process a mnemonic character. The method should determine whether the control is in a state to process mnemonics and whether the given character represents a mnemonic. If so, the method should perform the action associated with the mnemonic and return True. If not, the method should return False. Implementations of this method often use the IsMnemonic method to determine whether the given character matches a mnemonic in the control's text.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com